Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 8 Forum

Notes/Domino 8 Forum

Previous Next
Subject: Problems using dynamic popupmenu function from user32.dll
Feedback Type: Problem
Product Area: Notes 8 Client
Technical Area: Functionality
Platform: Windows XP client
Release: Notes and Domino 8 - GOLD
Reproducible: Always

We use some functions from user32.dll to create dynamic popup menus in our application. This functions are:

Declare Function SetRectEmpty Lib "user32.dll" (lpRect As RECT) As Long
Declare Function GetCursorPos Lib "user32.dll" Alias "GetCursorPos" (lpPoint As POINT_TYPE) As Long
Declare Function CreatePopupMenu Lib "user32.dll" Alias "CreatePopupMenu" () As Long
Declare Function TrackPopupMenuEx Lib "user32.dll" (Byval hMenu As Long, Byval fuFlags As Long, Byval x As Long, Byval y As Long, Byval hWnd As Long, lptpm As TPMPARAMS) As Long
Declare Function DestroyMenu Lib "user32.dll" Alias "DestroyMenu" (Byval hMenu As Long) As Long
Declare Function InsertMenuItem Lib "user32.dll" Alias "InsertMenuItemA" (Byval hMenu As Long, Byval uItem As Long, Byval fByPosition As Long, lpmii As MENUITEMINFO) As Long

It worked perfectly in all previous client versions. It also works without any problem in basic R8 client, but it does not work in R8 Eclipse client. TrackPopupMenuEx simply returns 0 and does not show the popup.

Any similar experiance?

TIA,
Mitja
IMiS Team


Feedback number WEBB78GGE6 created by ~Denise Ekgerochekgon on 10/30/2007

Status: Open
Comments:

Problems using dynamic popupmenu fu... (~Denise Ekgeroc... 30.Oct.07)
. . dynamic popupmenu function (~August Bretumi... 30.Oct.07)
. . . . Did you ever find a replacement? (~Carol Minweter... 27.Apr.09)
. . . . . . Similar functionaity for TrackPopup... (~Isaac Bubgerom... 17.Jan.13)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS